<div class="layui-form" style="padding-top: 20px;">
    <div id="parent_classify_name_box" class="layui-form-item layui-hide">
        <label class="layui-form-label">父类名:</label>
        <div class="layui-input-inline">
            <input id="parent_classify_name" name="name" class="layui-input layui-elip" readonly title="">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">分类类名:</label>
        <div class="layui-input-inline">
            <input id="to_add_classify_name" name="name" class="layui-input layui-elip" title="">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <div class="layui-btn" id="addCatalog_button">
                添加
            </div>
        </div>
    </div>
</div>
<script>
    layui.use(['form','server'], function(){
        var form = layui.form;
        var server = layui.server;
        form.render();
    })
</script>